<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>  
<%@taglib prefix="s" uri="/struts-tags" %>  
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
    <head>  
        <title>My JSP 'index.jsp' starting page</title>  
    </head>  
  
    <body>  
	<s:form method="post" action="/login/fileUpload" enctype="multipart/form-data" >
		<s:text name="userid" ></s:text>
		<s:file name="uploadFile" label="请选择文件"/>
		<s:submit/>
	</s:form> 
    </body>  
</html>  